# 病历模板管理路由
from django.urls import path
from TemplateInfo import views
urlpatterns = [

    path('', views.index, name="myapp_Templateinfo_index"),  # 浏览
    path('search', views.search, name="myapp_Templateinfo_search"),  # 查询
    path('add', views.add, name="myapp_Templateinfo_add"),  # 添加表单
    path('insert', views.insert, name="myapp_Templateinfo_insert"),  # 执行添加
    path("delete/<slug:nid>", views.delete, name="myapp_Templateinfo_delete"),  # 执行删除
    path('edit/<slug:templateid>', views.edit, name="myapp_Templateinfo_edit"),  # 加载编辑表单
    path('update', views.update, name="myapp_Templateinfo_update"),  # 执行编辑
]